home *** CD-ROM | disk | FTP | other *** search
/ PC User 2003 December / Australian PC User - December 2003 (CD2).iso / software / apps / files / dwmx2k4.exe / Disk1 / data1.cab / Configuration_En / Classes / TestCollection / Album.class (.txt) next >
Encoding:
Java Class File  |  2003-09-05  |  920 b   |  32 lines

  1. package TestCollection;
  2.  
  3. public class Album {
  4.    String title;
  5.    String artist;
  6.    String year;
  7.  
  8.    public String getArtist() {
  9.       return this.artist;
  10.    }
  11.  
  12.    public String getTitle() {
  13.       return this.title;
  14.    }
  15.  
  16.    public String getYear() {
  17.       return this.year;
  18.    }
  19.  
  20.    public void setArtist(String aArtist) {
  21.       this.artist = aArtist;
  22.    }
  23.  
  24.    public void setTitle(String aTitle) {
  25.       this.title = aTitle;
  26.    }
  27.  
  28.    public void setYear(String aYear) {
  29.       this.year = aYear;
  30.    }
  31. }
  32.